<!-- 
 表板列单元格组件
-->
<template>
  <div class="table-col-cell" @click="handleClickTableColCell">
    <slot />
  </div>
</template>
<script setup lang="ts">
const props = defineProps({
  row: {
    type: Object,
    default: () => {
      return {}
    },
  },
  columnName: {
    type: String,
    default: '',
  },
})
const emits = defineEmits(['clickTableColCell'])
const handleClickTableColCell = () => {
  console.log('click table col cell', props)
  emits('clickTableColCell', props)
}
</script>
<style lang="scss" scoped>
.table-col-cell {
  cursor: pointer;
}
</style>
